using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace MobileWebsiteGenerator.Entities
{
    public class Customer
    {

        public Customer()
        {
            this.CustomerWebsiteRels = new List<CustomerWebsiteREL>();
        }

        public int Customer_id { get; set; }



        public string UserName { get; set; }

        [Required]
        public string Password { get; set; }

        [Compare("Password")]
        public string confirmPassword { get; set; }

        public string FullName { get; set; }

        public string company { get; set; }

        public string WebsiteAddress { get; set; }

        public string Email { get; set; }

        [Compare("Email")]

        public string ConfirmEmail { get; set; }

        public string phone { get; set; }
        public bool IsActive { get; set; }
        public int web_id { get; set; }
        public virtual ICollection<CustomerWebsiteREL> CustomerWebsiteRels { get; set; }
    }
    public class WebsitePages
    {
        public int ID { get; set; }
        public string ETitle { get; set; }
        public string HTitle { get; set; }
        [UIHint("tinymce_jquery_full"), AllowHtml]
        public string EContent { get; set; }
        [UIHint("tinymce_jquery_full"), AllowHtml]
        public string HContent { get; set; }
    }


}

